package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcSampleInfo;
import cn.besbing.model.entities.primary.NcSampleInfoExample;
import cn.besbing.model.mapper.primary.NcSampleInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcSampleInfoServiceImpl implements NcSampleInfoMapper {
    
    @Autowired(required = false)
    NcSampleInfoMapper ncSampleInfoMapper;
    
    
    @Override
    public long countByExample(NcSampleInfoExample example) {
        return ncSampleInfoMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcSampleInfoExample example) {
        return ncSampleInfoMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkSampleInfo) {
        return ncSampleInfoMapper.deleteByPrimaryKey(pkSampleInfo);
    }

    @Override
    public int insert(NcSampleInfo record) {
        return ncSampleInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(NcSampleInfo record) {
        return ncSampleInfoMapper.insertSelective(record);
    }

    @Override
    public List<NcSampleInfo> selectByExample(NcSampleInfoExample example) {
        return ncSampleInfoMapper.selectByExample(example);
    }

    @Override
    public NcSampleInfo selectByPrimaryKey(String pkSampleInfo) {
        return ncSampleInfoMapper.selectByPrimaryKey(pkSampleInfo);
    }

    @Override
    public int updateByExampleSelective(NcSampleInfo record, NcSampleInfoExample example) {
        return ncSampleInfoMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcSampleInfo record, NcSampleInfoExample example) {
        return ncSampleInfoMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcSampleInfo record) {
        return ncSampleInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcSampleInfo record) {
        return ncSampleInfoMapper.updateByPrimaryKey(record);
    }
}
